home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Programming / vahunz / source / ugly / expstr.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-04-17  |  2.5 KB  |  85 lines

  1. /*
  2.  * This source file is part of Vahunz,
  3.  * a tool to make source code un-/more legible.
  4.  *
  5.  *--------------------------------------------------------------------------
  6.  *
  7.  * Vahunz and the Ugly library are Copyright (C) 1998 by
  8.  * Thomas Aglassinger <agi@giga.or.at>
  9.  *
  10.  * All rights reserved.
  11.  *
  12.  * Refer to the manual for more information.
  13.  *
  14.  *--------------------------------------------------------------------------
  15.  *
  16.  * Ubiqx library is Copyright (C) 1991-1998 by
  17.  * Christopher R. Hertel <crh@ubiqx.mn.org>
  18.  *
  19.  * Ubiqx library is free software; you can redistribute it and/or
  20.  * modify it under the terms of the GNU Library General Public
  21.  * License as published by the Free Software Foundation; either
  22.  * version 2 of the License, or (at your option) any later version.
  23.  *
  24.  */
  25. #ifndef s0N
  26. #define s0N
  27. #include <stddef.h>
  28. #include "utypes.h"
  29. #define e4Y 96
  30. #define h7L 8 
  31. #ifndef m4R
  32. #define m4R(x,by) ((by)*(((x)+(by))/(by)))
  33. #endif
  34. #define j9O(es) ((es)->r1C)
  35. #define p1R(es) ((es)->r0H - 1)
  36. typedef struct
  37. {
  38. STRPTR r1C; 
  39. size_t r0H; 
  40. size_t p3Q; 
  41. size_t x6G; 
  42. }
  43. j5K;
  44. #ifndef m1N
  45. extern j5K *o0J(size_t g9W, STRPTR e9R, ULONG p8T);
  46. extern j5K *u5Y(size_t g9W);
  47. extern void y6Q(j5K * es);
  48. extern BOOL k7N(j5K * es);
  49. extern BOOL v2V(j5K * es, STRPTR e9R, ULONG p8T);
  50. extern BOOL c9U(j5K * es, t8B s, size_t n);
  51. extern BOOL f8T(j5K * es, t8B s);
  52. extern BOOL n4X(j5K * es, int ch);
  53. extern BOOL d1R(j5K * es, t8B s);
  54. extern BOOL n4J(j5K * es, t8B s, STRPTR e9R, ULONG p8T);
  55. extern BOOL w9I(j5K * es, int ch, STRPTR e9R, ULONG p8T);
  56. extern BOOL n2K(j5K * es, t8B s, STRPTR e9R, ULONG p8T);
  57. extern STRPTR p1W(j5K * es);
  58. extern size_t y1C(j5K * es);
  59. extern BOOL k6F(j5K * dest, j5K * src);
  60. extern BOOL j0P(j5K * dest, j5K * src);
  61. extern BOOL w2K(j5K * dest, j5K * src, size_t k5L, size_t num);
  62. extern BOOL h3M(j5K * dest, j5K * src, size_t num);
  63. extern BOOL i2T(j5K * dest, j5K * src, size_t num);
  64. #endif 
  65. #if j1Y
  66. #define y8L( es, c8H ) h0Z( es, c8H, __FILE__, __LINE__ )
  67. #define a4D( es, s ) n4J( es, s, __FILE__, __LINE__ )
  68. #define v7I( es, ch ) w9I( es, ch, __FILE__, __LINE__ )
  69. #define u4W( es, s ) n2K( es, s, __FILE__, __LINE__ )
  70. #define o8S( s ) o0J( s, __FILE__, __LINE__ )
  71. #define h3A( s ) v2V( s, __FILE__, __LINE__ )
  72. #define e4K( s ) p1W( s )
  73. #define i5C( s ) y1C( s )
  74. #else
  75. #define y8L( es, c8H ) f2B( es, c8H )
  76. #define a4D( es, s ) f8T( es, s )
  77. #define v7I( es, ch ) n4X( es, ch )
  78. #define u4W( es, s ) d1R( es, s )
  79. #define o8S( s ) u5Y( s )
  80. #define h3A( s ) k7N( s )
  81. #define e4K( s ) j9O( s )
  82. #define i5C( s ) p1R( s )
  83. #endif
  84. #endif 
  85.